package com.example.admin.pullrefresh;

import android.util.Log;

/**
 * Created by admin on 2015/11/5.
 */
public class Utils {

    private static final String TAG = "Pull";

    private static boolean isLog;

    public static void isLog(boolean b) {
        isLog = b;
    }

    public static void L(String string) {
        if (isLog) {
            Log.d(TAG, string);
        }
    }
}